package com.flyduck.mall.ums.api;

import com.flyduck.mall.ums.api.vo.RemoteAddressRespVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * <p>
 * RemoteAddressFallback
 * </p>
 *
 * @author flyduck
 * @since 2024-07-22
 */
@Slf4j
@Component
public class RemoteAddressServiceMock implements RemoteAddressService {
    @Override
    public RemoteAddressRespVO getDefaultAddressByUserId(Long userId) {
        log.error("获取默认地址失败");
        return null;
    }

    @Override
    public RemoteAddressRespVO getAddressById(Long id) {
        log.error("获取默认地址失败");
        return null;
    }
}
